package model.userhandler;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * A "keeper" for all the users in the application.
 * @author Tobias Møller Kjærsgaard
 * @author Hjalte Blichfeldt Flyger
 * @author Gitte Simonsen
 * @author Claus Lund
 */
public class UserManager implements Serializable {
    private ArrayList<User> users;

    public UserManager() {
        users = new ArrayList<User>();
    }

    public boolean remove(Object o) {
        return users.remove(o);
    }

    public boolean add(User o) {
        return users.add(o);
    }

    public ArrayList<User> getUsers() {
        return users;
    }

}
